package com.kalua.list.domainmodel.security;

import com.kalua.list.domainmodel.BaseIdentifier;

public class EmailAddress extends BaseIdentifier {

	private static final long serialVersionUID = -3045655769758043945L;
	
	private String value;

	private EmailAddress(){}
	
	public EmailAddress(String value) {
		this();
		setValue(value);
	}

	public String getValue() { return value; }
	private void setValue(String value) { this.value = value; }
	
	@Override
	protected Object[] getConstituents() { return new Object[] {this.value}; }
}